﻿using MiniFox.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DMC.Core.Models.Dto
{
    public class ViewDto
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Required(ErrorMessageResourceType = typeof(CommonMessages), ErrorMessageResourceName = "MSG_CommonRequired")]
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// excel模板文件
        /// </summary>
        public string Template
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string[] DataLoaderName
        {
            get;
            set;
        }
    }
}
